package com.mofang.ticketing.user.serve.account.dto.request;

import com.mofang.ticketing.common.core.page.BasePageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author LGC
 */
@Data
@ApiModel(value = "账号列表分页查询")
public class PlatformAccountListPageReqDTO implements Serializable {

    private static final long serialVersionUID = 8373196496081610839L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "账号/手机号")
    private String account;

    @ApiModelProperty(value = "账号类型 1=平台管理员、2=商户管理员、3=商户成员、4=项目成员")
    private Integer accountType;

    @ApiModelProperty("分页查询对象")
    @NotNull(message = "分页参数不能为空")
    private BasePageQuery page;
}
